num = input('随即输入一个数:')
b = num[::-1]
if (b==num):
    print(True)
else:
    print(False)

num = {}
num1 = int(input('请随机输入一个数:'))
num2 = [int(input('请随即输入数字:'))]
for i in range(len(num2)):
    if int(num1) - num2[i] in num:
        print(num1)
        print(num2)
        print([num[int(num1) - num2[i]],i])
    else:
        print(num[num2[i]])

